import _thread
import time


num=0
def add():
    global num
    for i  in range(1000000):
        num+=1
    print(num)

'''
for i in range(5):
    add()

'''

for i in range(5):
    _thread.start_new_thread(add,())

while True:
    pass
